/**
 *autho xf
 * */
function SubmitLogin(){
        var  username                =$("#username").val();
        var  password                =$("#password").val();
        var  captcha                 =$("#captcha").val();
        if(username==''||password==''||captcha==''){
                   return false;
        }
        $.ajax({
        url : '/admin/depose_login',
        type : "POST",
        data : {username:username,password:password,captcha:captcha},
        dataType : "json",
        cache:"false",
        timeout:30000,
         success: function (json) {
             if (json.code == 1) {//ok
                 window.location.href = json.url;
                 return false;
             } if (json.code == 2) {//ok

             }
        }
    });
    }